package com.yungu.swift.assets.driver.dao;

import com.yungu.swift.assets.driver.model.dto.DriverSignLogDto;
import com.yungu.swift.assets.driver.model.vo.DriverSignLogVo;
import com.yungu.swift.base.mapper.IMapper;

import java.util.Map;

/**
 * DriverSignLogMapper数据库操作接口类
 **/

public interface DriverSignLogMapper extends IMapper<DriverSignLogDto> {

    /**
     * 上班记录
     *
     * @param driverUuid String
     * @return DriverSignLogDto
     */
    DriverSignLogDto findOnWork(String driverUuid);

    /**
     * 获取司机考勤统计的出勤相关数据
     *
     * @param map Map
     * @return DriverSignLogVo
     */
    DriverSignLogVo findExaminationList(Map<String, Object> map);

    /**
     * 后台-订单-乘客订单详情-司机信息-总服务里程数和收入
     *
     * @param map Map
     * @return Map
     */
    Map<String, Object> getCountInfo(Map<String, Object> map);
}